/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.datasource.sharding;

import org.springframework.boot.jdbc.metadata.DataSourcePoolMetadata;

/**
 * NotAvailableDataSourcePoolMetadata
 *
 * @author ebert_chan
 */
public class NotAvailableDataSourcePoolMetadata implements DataSourcePoolMetadata {

    @Override
    public Float getUsage() {
        return null;
    }

    @Override
    public Integer getActive() {
        return null;
    }

    @Override
    public Integer getMax() {
        return null;
    }

    @Override
    public Integer getMin() {
        return null;
    }

    @Override
    public String getValidationQuery() {
        return "select 1";
    }

    @Override
    public Boolean getDefaultAutoCommit() {
        return null;
    }

}
